package com.qianda.qdminiapp.common.future;

/**
 * 指令执行将来时
 *
 * @ClassName CommandFuture
 * @Author cw
 * @Date 2019/8/1 16:50
 * @Version 1.0
 */
public class CommandFuture extends AbstractFuture {

    private final String channel;
    private final int command;

    /**
     * @param channel
     * @param command
     */
    public CommandFuture(String channel, int command) {
        super(null);
        this.channel = channel;
        this.command = command;
    }

    public String getChannel() {
        return channel;
    }

    public int getCommand() {
        return command;
    }

}
